package com.construction_Safety.information.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.construction_Safety.common.annotation.Excel;
import com.construction_Safety.common.core.domain.BaseEntity;

/**
 * 维修信息管理对象 c_information
 * 
 * @author yat
 * @date 2025-06-11
 */
public class CInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 区域编号 */
    @Excel(name = "区域编号")
    private Long regionId;

    /** 图片 */
    @Excel(name = "图片")
    private String picture;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 检测人员 */
    private Long detectionBy;

    /** 检测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date detectionTime;

    /** 维修人员 */
    private Long maintenanceBy;

    /** 维修时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date maintenanceTime;
    private String remarks;

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    private List<CInspecAlbum> cInspecAlbumList;

    private List<CMaintainAlbum> cMaintainAlbumList;


    public List<CInspecAlbum> getcInspecAlbumList() {
        return cInspecAlbumList;
    }

    public void setcInspecAlbumList(List<CInspecAlbum> cInspecAlbumList) {
        this.cInspecAlbumList = cInspecAlbumList;
    }

    public List<CMaintainAlbum> getcMaintainAlbumList() {
        return cMaintainAlbumList;
    }

    public void setcMaintainAlbumList(List<CMaintainAlbum> cMaintainAlbumList) {
        this.cMaintainAlbumList = cMaintainAlbumList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setRegionId(Long regionId) 
    {
        this.regionId = regionId;
    }

    public Long getRegionId() 
    {
        return regionId;
    }

    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setDetectionBy(Long detectionBy) 
    {
        this.detectionBy = detectionBy;
    }

    public Long getDetectionBy() 
    {
        return detectionBy;
    }

    public void setDetectionTime(Date detectionTime) 
    {
        this.detectionTime = detectionTime;
    }

    public Date getDetectionTime() 
    {
        return detectionTime;
    }

    public void setMaintenanceBy(Long maintenanceBy) 
    {
        this.maintenanceBy = maintenanceBy;
    }

    public Long getMaintenanceBy() 
    {
        return maintenanceBy;
    }

    public void setMaintenanceTime(Date maintenanceTime) 
    {
        this.maintenanceTime = maintenanceTime;
    }

    public Date getMaintenanceTime() 
    {
        return maintenanceTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("regionId", getRegionId())
            .append("picture", getPicture())
            .append("status", getStatus())
            .append("detectionBy", getDetectionBy())
            .append("detectionTime", getDetectionTime())
            .append("maintenanceBy", getMaintenanceBy())
            .append("maintenanceTime", getMaintenanceTime())
            .toString();
    }
}
